:host {
  position: relative;
  &:hover {
    // .e-t-down {
    //   transform: rotate(-180deg);
    // }
  }
  .e-t-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;

    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
  }
  mat-list {
    display: none;
    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
      0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 33px;
    width: 112px;
    background: white;
    &.show {
      display: block;
      animation: fadeInDown 0.2s 0.2s ease both;
    }
    mat-list-item {
      color: rgba(0, 0, 0, 0.87);
      font-family: Roboto, "Helvetica Neue", sans-serif;
      font-size: 14px;
      font-weight: 400;
      &:hover {
        background: rgba(0, 0, 0, 0.04);
      }
    }
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

button {
  position: relative;
  .e-t-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;

    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
    &.up {
      transform: rotate(-180deg);
    }
  }
}
